Version

HtmlEditor(String,HtmlEditorModel) Method

Renders a html editor widget with the specified id and options in the model.
Syntax
'Declaration
 
Public Overloads Function HtmlEditor( _
   ByVal id As System.String, _
   ByVal htmlEditorModel As HtmlEditorModel _
) As System.Web.Mvc.MvcHtmlString
public System.Web.Mvc.MvcHtmlString HtmlEditor( 
   System.string id,
   HtmlEditorModel htmlEditorModel
)

Parameters

id
The id of the div that will be created for the html editor widget.
htmlEditorModel
The model containing the options for the widget.

Return Value

A HTML div with a script tag bellow it that adds the html editor widget to the div.
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub